2ccbf2893d81ce2d4f9a0844b6734ec96608e2b4,library/src/main/java/com/prolificinteractive/materialcalendarview/DayView.java,DayView,onDraw,#Canvas#,169

Before Change


    @Override
    protected void onDraw(@NonNull Canvas canvas) {
        if (customBackground != null) {
            canvas.getClipBounds(tempRect);
            customBackground.setBounds(tempRect);
            customBackground.setState(getDrawableState());
            customBackground.draw(canvas);

After Change



    @Override
    protected void onDraw(@NonNull Canvas canvas) {
        canvas.getClipBounds(tempRect);
        if (customBackground != null) {
            customBackground.setBounds(tempRect);
            customBackground.setState(getDrawableState());